class BaseSet:
    def __init__(self, width, height, minecount):
        self.width = width
        self.height = height
        self.mine_count = minecount
        self.first_click = []

    def setFirstClick(self, i, j):
        self.first_click = [i, j]


class GridInfo:
    def __init__(self, x, y, status, flag):
        self.x = x
        self.y = y
        self.status = status
        self.flag = flag


class Location:
    def __init__(self, x = 0, y = 0):
        self.x = x
        self.y = y
